﻿using System;
namespace SF.Model
{
    /// <summary>
    /// bs_good_order:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class bs_good_order
    {
        public bs_good_order()
        { }

        /// <summary>
        /// 构造函数
        /// 用于生成订单流水号
        /// </summary>
        /// <param name="orderId"></param>
        public bs_good_order(string orderId)
        {
            DateTime now = DateTime.Now;
            orderNum = string.Format("ORD{0}", now.ToString("yyyyMMddHHmmssfff"));  //定义流水号
            createTime = now;  //订单创建时间
        }
        #region Model
        private long _id;
        private string _busniesenum;
        private string _appnum;
        private string _ordernum;
        private string _usernum;
        private decimal? _totalprice;
        private DateTime? _createtime;
        private string _paystatus;
        private string _payway;
        private DateTime? _paytime;
        private string _expressstatus;
        private string _expressname;
        private string _expressnum;
        private DateTime? _expresstime;
        private string _receiveinfo;
        private string _userconfirmstatus;
        private string _sysconfirmstatus;
        private DateTime? _confirmtime;
        private string _status;
        private string _remark;
        /// <summary>
        /// 
        /// </summary>
        public long id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string busnieseNum
        {
            set { _busniesenum = value; }
            get { return _busniesenum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string appNum
        {
            set { _appnum = value; }
            get { return _appnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string orderNum
        {
            set { _ordernum = value; }
            get { return _ordernum; }
        }
        /// <summary>
        /// 用户编码
        /// </summary>
        public string userNum
        {
            set { _usernum = value; }
            get { return _usernum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? totalPrice
        {
            set { _totalprice = value; }
            get { return _totalprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string payStatus
        {
            set { _paystatus = value; }
            get { return _paystatus; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string payWay
        {
            set { _payway = value; }
            get { return _payway; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? payTime
        {
            set { _paytime = value; }
            get { return _paytime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string expressStatus
        {
            set { _expressstatus = value; }
            get { return _expressstatus; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string expressName
        {
            set { _expressname = value; }
            get { return _expressname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string expressNum
        {
            set { _expressnum = value; }
            get { return _expressnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? expressTime
        {
            set { _expresstime = value; }
            get { return _expresstime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string receiveInfo
        {
            set { _receiveinfo = value; }
            get { return _receiveinfo; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string userConfirmStatus
        {
            set { _userconfirmstatus = value; }
            get { return _userconfirmstatus; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sysConfirmStatus
        {
            set { _sysconfirmstatus = value; }
            get { return _sysconfirmstatus; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? confirmTime
        {
            set { _confirmtime = value; }
            get { return _confirmtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }

        private string _templatesnum;

        public string templatesNum
        {
            get { return _templatesnum; }
            set { _templatesnum = value; }
        }
        #endregion Model

    }
}

